package com.api.shopapi.service;

import com.api.shopapi.entity.EInspectRecord;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface EInspectRecordService {

    int insert(EInspectRecord eInspectRecord);

    EInspectRecord getByEInspectRecordCode(String eInspectRecordCode);

    List<EInspectRecord> getListByElderlyCode(String elderlyCode);

    PageInfo<EInspectRecord> getPageListByElderlyCode(String elderlyCode, int pageIndex, int pageSize);
}
